package Controls
{
	import Config.GameConfig;
	
	import Objects.GameShape;

	public class ModalMask extends GameShape
	{
		protected var alpha:Number=0.3;
		protected var color:uint=0x000000;
		public function ModalMask()
		{
			super();
			intelligent=true;
		}
		override protected function $update():void
		{
			shape.graphics.clear();
			shape.graphics.beginFill(color,alpha);
			shape.graphics.drawRect(0,0,GameConfig.width,GameConfig.height);
			shape.graphics.endFill();
		}
	}
}